package com.powermgr.boringtest.service;

import com.powermgr.boringtest.bean.Device;

import java.util.Optional;

/**
 * IDeviceService
 *
 * @author qiuxiangdong
 * @date 2023/9/18 14:27
 */
public interface IDeviceService {
    Optional<Device> findIdleDevice();
    void setDeviceBusy(String sn);
    void setDeviceIdle(String sn);
    int getDeviceNums();
}
